package testdb.models;

import javax.transaction.Transactional;
import org.springframework.data.repository.CrudRepository;

@Transactional
public interface UserDao extends CrudRepository<User,Long>{

public User findByfirstname(String firstname);
}
